﻿Imports System.Net
Imports System.IO
Imports Newtonsoft.Json.Linq
Imports Newtonsoft.Json
Imports Tunlr.Settings
Imports System.ComponentModel

<DisplayName("Tunlr DNS Server's IP Address")> _
Public Class TunlrDNS


    Private _PrimaryDNS As String
    <Category("Tunlr DNS")> _
    <DisplayName("Primary DNS Server")> _
    <JsonProperty(PropertyName:="dns1")> _
    Public Property PrimaryDNS() As String
        Get
            Return _PrimaryDNS
        End Get
        Friend Set(ByVal value As String)
            _PrimaryDNS = value
        End Set
    End Property

    Private _SecondaryDNS As String
    <Category("Tunlr DNS")> _
    <DisplayName("Secondary DNS Server")> _
    <JsonProperty(PropertyName:="dns2")> _
    Public Property SecondaryDNS() As String
        Get
            Return _SecondaryDNS
        End Get
        Friend Set(ByVal value As String)
            _SecondaryDNS = value
        End Set
    End Property

End Class
